package com.africanmoviesmobile.webservice;

import org.json.JSONObject;

import android.content.Context;

import com.africanmoviesmobile.webservice.inf.Wishlist;

public class AmmWishlist extends AmmWebService implements Wishlist {

	private JSONObject _jsonObject;
	
	public AmmWishlist(JSONObject jsonObject, Context context) {
		super(context);
		_jsonObject = jsonObject;
	}

	public int getMovieId() {
		return _jsonObject.optInt("movie_id");
	}

	public String getMovieTitle() {
		return _jsonObject.optString("title");
	}
	
	public String getMovieShortCast() {
		return _jsonObject.optString("short_cast");
	}
	
	public int getMovieRatings() {
		return _jsonObject.optInt("ratings");
	}
	
	public String getMovieCover() {
		return _jsonObject.optString("cover_url");
	}

	public String getDateAdded() {
		return _jsonObject.optString("date_added");
	}
	
}
